//package minijava;
//import java.util.List;
public class Decl {
    public List<Expr.Identifier> varlist;
    public Decl(List<Expr.Identifier> l){
	varlist = l;
    }
    public String ToString(){
	String ret = "int "+varlist[0];
	for (int i = 1; i < varlist.Count; i++) ret += ","+varlist[i];
	return ret+";\n";
    }
    public override void accept(MinijavaVisitor v){
	v.preVisit(this);
	v.postVisit(this);
    }
}
